﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WareHouse.Domain.ModelClass;

namespace WareHose.Application.WareHouseRomve.Dto
{
    public class OutHouseDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey = true)]
        public long StockRemoveId { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public StockRemoveType StockRemoveType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public long MarketId { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public long ClientId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string ClientName { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Linkman { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string ModelName { get; set; } = "Admin";
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime ModelDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 仓库信息
        /// </summary>
        public long WareHouseId { get; set; }
        /// <summary>
        /// 产品信息
        /// </summary>
        public List<ProductInfo> ProductList { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(Length = 50)]
        public string WarehouseName { get; set; }

    }
}
